/**
 * ImageListModel.java Create on 2012-8-1     
*      
* Copyright (c) 2012-8-1 by yiming     
*      
* @author <a href="alenzhangym@hotmail.com">Yiming</a>     
* @version 1.0 
 */
package com.yimi.content;
 
import com.yimi.service.BaseImageItem;
import com.yimi.service.ImageList;

/**
 * TODO ��������    
 *      
 *  
 *      
 * @author Yiming
 * @version 1.0 
 */
public interface ImageListModel {
    /**
     * @return
     */
    int getSize();

    /**
     * @param position
     * @return
     */
    BaseImageItem getImageItem(int position);

    public void addImageItem(BaseImageItem imageItem);

    public void removeImageItem(BaseImageItem imageItem);

    /**
     * @param list
     */
    void addImageList(ImageList list);

    /**
     * @param previewItem
     */
    void updateItem(BaseImageItem previewItem); 
}
